package com.faithbj.utils;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component("systemConfigUtil")
public class SystemConfigUtil {

	/**
	 *  上传照片大小限制，单位(KB)兆,默认8M
	 */
	@Value("${uploadLimit}")
	private Integer uploadLimit;
	// 图片文件根路径
	@Value("${uploadImageDIR}")
	private String uploadImageDIR;
	/**
	 *  导入文件时的临时文件夹，zip压缩包导入
	 */
	@Value("${importTmpDir}")
	private String importTmpDir;
	/**
	 *  最终导入文件的根路径
	 */
	@Value("${importFileDir}")
	private String importFileDir;
	// 允许上传的文件后缀
	@Value("${allowedUploadFileExtension}")
	private String allowedUploadFileExtension;

	//查询统计中，默认的查询区间天数
	@Value("${diffDays}")
	private String diffDays;
	
	//查询统计中，几个状态的规定处理时间
	@Value("${state1ProcessDays}")
	private String state1ProcessDays;
	@Value("${state2ProcessDays}")
	private String state2ProcessDays;
	@Value("${state3ProcessDays}")
	private String state3ProcessDays;
	@Value("${state4ProcessDays}")
	private String state4ProcessDays;
	@Value("${state5ProcessDays}")
	private String state5ProcessDays;
	@Value("${state6ProcessDays}")
	private String state6ProcessDays;
	@Value("${state7ProcessDays}")
	private String state7ProcessDays;
	@Value("${state8ProcessDays}")
	private String state8ProcessDays;
	@Value("${state9ProcessDays}")
	private String state9ProcessDays;
	@Value("${state10ProcessDays}")
	private String state10ProcessDays;
	/**
	 * 条形码配置的分辨率
	 */
	@Value("${resText}")
	private Integer resText;
	public Integer getUploadLimit() {
		return uploadLimit;
	}
	public void setUploadLimit(Integer uploadLimit) {
		this.uploadLimit = uploadLimit;
	}
	public String getUploadImageDIR() {
		return uploadImageDIR;
	}
	public void setUploadImageDIR(String uploadImageDIR) {
		this.uploadImageDIR = uploadImageDIR;
	}
	/**
	 *  导入文件时的临时文件夹，zip压缩包导入
	 */
	public String getImportTmpDir() {
		return importTmpDir;
	}
	public void setImportTmpDir(String importTmpDir) {
		this.importTmpDir = importTmpDir;
	}
	/**
	 *  最终导入文件的根路径
	 */
	public String getImportFileDir() {
		return importFileDir;
	}
	public void setImportFileDir(String importFileDir) {
		this.importFileDir = importFileDir;
	}
	public String getAllowedUploadFileExtension() {
		return allowedUploadFileExtension;
	}
	public void setAllowedUploadFileExtension(String allowedUploadFileExtension) {
		this.allowedUploadFileExtension = allowedUploadFileExtension;
	}
	public String getDiffDays() {
		return diffDays;
	}
	public void setDiffDays(String diffDays) {
		this.diffDays = diffDays;
	}
	public String getState1ProcessDays() {
		return state1ProcessDays;
	}
	public void setState1ProcessDays(String state1ProcessDays) {
		this.state1ProcessDays = state1ProcessDays;
	}
	public String getState2ProcessDays() {
		return state2ProcessDays;
	}
	public void setState2ProcessDays(String state2ProcessDays) {
		this.state2ProcessDays = state2ProcessDays;
	}
	public String getState3ProcessDays() {
		return state3ProcessDays;
	}
	public void setState3ProcessDays(String state3ProcessDays) {
		this.state3ProcessDays = state3ProcessDays;
	}
	public String getState4ProcessDays() {
		return state4ProcessDays;
	}
	public void setState4ProcessDays(String state4ProcessDays) {
		this.state4ProcessDays = state4ProcessDays;
	}
	public String getState5ProcessDays() {
		return state5ProcessDays;
	}
	public void setState5ProcessDays(String state5ProcessDays) {
		this.state5ProcessDays = state5ProcessDays;
	}
	public String getState6ProcessDays() {
		return state6ProcessDays;
	}
	public void setState6ProcessDays(String state6ProcessDays) {
		this.state6ProcessDays = state6ProcessDays;
	}
	public String getState7ProcessDays() {
		return state7ProcessDays;
	}
	public void setState7ProcessDays(String state7ProcessDays) {
		this.state7ProcessDays = state7ProcessDays;
	}
	public String getState8ProcessDays() {
		return state8ProcessDays;
	}
	public void setState8ProcessDays(String state8ProcessDays) {
		this.state8ProcessDays = state8ProcessDays;
	}
	public String getState9ProcessDays() {
		return state9ProcessDays;
	}
	public void setState9ProcessDays(String state9ProcessDays) {
		this.state9ProcessDays = state9ProcessDays;
	}
	public String getState10ProcessDays() {
		return state10ProcessDays;
	}
	public void setState10ProcessDays(String state10ProcessDays) {
		this.state10ProcessDays = state10ProcessDays;
	}
	public Integer getResText() {
		return resText;
	}
	public void setResText(Integer resText) {
		this.resText = resText;
	}	
	
}
